HTML5, JavaScript, and jQuery 24-Hour Trainer by Dane Cameron

HTML5, JavaScript, and jQuery 24-Hour Trainer by Dane Cameron

Author:Dane Cameron
Language: eng
Format: epub, azw3, mobi, pdf
ISBN: 9781119001171
Publisher: Wiley
Published: 2015-03-02T00:00:00+00:00


Reference

Please go to the book's website at www.wrox.com/go/html5jsjquery24hr to view the video for Lesson 20, as well as download the code and resources for this lesson.

Lesson 21

jQuery Plugins

In the lessons covered so far in this section, you have learned most of what you need to know to start writing dynamic web applications. This lesson will cover one final subject that can enhance dynamic web applications: jQuery plugins.

One of the reasons jQuery is so popular is that it is very easy to extend with plugins. As a result, a huge number of jQuery plugins are freely available, and these can often be used as an alternative to writing your own code.

In this lesson, you will briefly look at one of the most popular jQuery plugins, called jQuery UI. This plugin provides a set of user interface components, such as date pickers and dialog boxes, and is used extensively, including on some of the Internet's most popular websites.

It is also possible to write your own jQuery plugins. A typical jQuery plugin uses a jQuery selector to identify a set of elements, and then performs an operation on these elements, returning the modified elements as a result.

Although it is obviously possible to modify elements without encapsulating the code in a jQuery plugin, writing plugins provides a convenient mechanism for packaging code.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.